Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
PppProcess Class Reference

PppProcess handles and manipulates the PPP encapsulation process. More...

Inheritance diagram for PppProcess:
PortKeepAliveProcess Process

Public Member Functions

void setAuthenType (PppAuthenType)
 Sets the authentication type. More...
 
PppAuthenType getAuthenType ()
 Returns the authentication type. More...
 
PAPProcess getPapProcess ()
 Returns the PAP process. More...
 
ChapProcess getChapProcess ()
 Returns the CHAP process. More...
 
- Public Member Functions inherited from PortKeepAliveProcess
void setKeepAliveOn (bool)
 
bool isKeepAliveOn ()
 Returns true if keepalive is enabled, otherwise false. More...
 
void setKeepAliveInterval (int)
 Sets the keepalive interval. More...
 
int getKeepAliveInterval ()
 Returns the keepalive interval. More...
 
- Public Member Functions inherited from Process
Device getOwnerDevice ()
 Returns the device for this process. More...
 

Detailed Description

PppProcess handles and manipulates the PPP encapsulation process.

Member Function Documentation

◆ getAuthenType()

PppAuthenType PppProcess::getAuthenType ( )

Returns the authentication type.

Returns
enum<PppAuthenType>, the authentication type. Authentication types: eNoAuthentication = 0, eChap = 1, ePap = 2, ePapChap = 3, eChapPap = 4

◆ getChapProcess()

ChapProcess PppProcess::getChapProcess ( )

Returns the CHAP process.

Returns
ChapProcess, the ChapProcess object.

◆ getPapProcess()

PAPProcess PppProcess::getPapProcess ( )

Returns the PAP process.

Returns
PAPProcess, the PAPProcess object.

◆ setAuthenType()

void PppProcess::setAuthenType ( PppAuthenType  )

Sets the authentication type.

Parameters
type,theauthentication type. Authentication types: eNoAuthentication = 0, eChap = 1, ePap = 2, ePapChap = 3, eChapPap = 4

The documentation for this class was generated from the following file: